package com.stone.boot.stoneboot.module.view;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class ViewController {

    @GetMapping({"/", "/home"})
    public String home() {
        return "home";
    }

    @GetMapping("databaseDocument")
    public String databaseDocument() {
        return "databaseDocument";
    }

    @GetMapping("/hello")
    public String index() {
        return "hello";
    }

    @GetMapping("/test")
    public String index1() {
        return "yd/test";
    }
}
